package com.liuxing.doctor.entity;

import lombok.ToString;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.Date;
@ToString
@XmlRootElement(name = "medicalRecord")
@XmlAccessorType(XmlAccessType.FIELD)
public class MedicalRecord {
    private Integer medicalRecordId;
    /**
     * 症状
     */
    private String symptom;
    /**
     * 诊断
     */
    private String diagnosis;

    private String treatmentOptions;

    private String patientId;

    private Date createTime;

    private Date editTime;

    public Integer getMedicalRecordId() {
        return medicalRecordId;
    }

    public void setMedicalRecordId(Integer medicalRecordId) {
        this.medicalRecordId = medicalRecordId;
    }

    public String getSymptom() {
        return symptom;
    }

    public void setSymptom(String symptom) {
        this.symptom = symptom == null ? null : symptom.trim();
    }

    public String getDiagnosis() {
        return diagnosis;
    }

    public void setDiagnosis(String diagnosis) {
        this.diagnosis = diagnosis == null ? null : diagnosis.trim();
    }

    public String getTreatmentOptions() {
        return treatmentOptions;
    }

    public void setTreatmentOptions(String treatmentOptions) {
        this.treatmentOptions = treatmentOptions == null ? null : treatmentOptions.trim();
    }

    public String getPatientId() {
        return patientId;
    }

    public void setPatientId(String patientId) {
        this.patientId = patientId == null ? null : patientId.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getEditTime() {
        return editTime;
    }

    public void setEditTime(Date editTime) {
        this.editTime = editTime;
    }
}